package com.chance.cc.crawler.development.command.publish.dunkhome;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.development.command.job.domain.dunkhome.DunkHomeCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.script.dunkhome.DunkHomeCrawlerScript;
import com.chance.cc.crawler.development.command.trigger.domain.dahe.DaHeCrawlerTriggerInfo;


public class DunkHomePublishCrawlerJob {
    private static final String domain = "dunkhome";

    public static void main(String[] args) {
        publishSimpleCrawlerJob();
        DunkHomeCrawlerScript.publishCrawlerNodeScript();
    }

    private static void publishSimpleCrawlerJob(){
        CrawlerJob crawlerJob = DunkHomeCrawlerSchedulerJob.publishCrawlerScheduleJobInfo();
        DaHeCrawlerTriggerInfo.simpleCrawlerScheduleTriggerInfo(crawlerJob.generateCrawlerKey(),crawlerJob.generateCrawlerTriggerKey(),domain,"大河网");
    }
}
